package com.zhuhjay.constant;

/**
 * @author ZhuHJay
 * @date 2023/1/12 15:29
 */
public class RedisConstant {
    /** token前缀 **/
    public static final String TOKEN_PREFIX = "token:";

    /** uid(UserTokenDto)前缀 **/
    public static final String UID_PREFIX = "uid:";

    /** lock前缀 **/
    public static final String LOCK_PREFIX = "lock:";

    /** api的ip访问限制前缀 **/
    public static final String LIMITER_IP_PREFIX = "limit:ip:";

    /** id生成器前缀 **/
    public static final String ID_WORKER_PREFIX = "id:worker:";

    /** 文件上传前缀 **/
    public static final String FILE_UPLOAD_PREFIX = "file:upload:";

}
